package service;

import entity.MyFile;
import org.hibernate.criterion.DetachedCriteria;

import java.io.Serializable;
import java.util.List;

public interface FileService {
    //文件的存储功能
    void save(MyFile file);

    MyFile getFileById(Serializable id);

    List<MyFile> getFileByCondition(DetachedCriteria dc);//通过字段查找file

}
